<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui">

<ui:composition template="/template.xhtml">

	<ui:define name="content">

		<p:growl id="growl" showDetail="true" />

		<p:fieldset legend="Alterar Senha" toggleable="true"
			toggleSpeed="500">

			<h:form>

				<h:panelGrid columns="2">

					<p:outputLabel value="Senha Antiga:"
						style="font-weight: bold;" />
					<p:inputText id="nome" value="#{veiculoBean.argumento}" size="20" />

					<p:outputLabel value="Nova Senha:" style="font-weight: bold;" />
					<p:password id="senha"  value="#{veiculoBean.argumento}"  feedback="true"
                    promptLabel="Fraca" weakLabel="Bom"
                    goodLabel="Muito Bom" strongLabel="Otima" size="20" />

					<p:outputLabel value="Confirme a Nova Senha:" style="font-weight: bold;" />
					<p:password id="confirmSenha" value="#{veiculoBean.argumento}" feedback="true"
                    promptLabel="Fraca" weakLabel="Bom"
                    goodLabel="Muito Bom" strongLabel="Otima" size="20" />


					<p:commandButton value="Alterar"
						actionListener="#{unidadeMB.adiciona()}" ajax="false"
						styleClass="botao-formulario" update="growl" />
						
				</h:panelGrid>

			</h:form>

		</p:fieldset>

	</ui:define>

</ui:composition>

</html>